package com.entity;


import org.apache.ibatis.type.Alias;

@Alias("BaseTradeRel")
public class TradeRel extends BaseEntity {

	private static final long serialVersionUID = 1L;

	/**
	 * 编号
	 */
	private String id;

	/**
	 * 用户编号
	 */
	private String userId;

	/**
	 * 行业编号
	 */
	private String tradeId;

	/**
	 * 用户分类编号
	 */
	private String userTypeId;


	public TradeRel () {
		super();
	}

	public TradeRel (String id,String userId,String tradeId,String userTypeId) {
		this.id = id;
		this.userId = userId;
		this.tradeId = tradeId;
		this.userTypeId = userTypeId;
	}

	public String getId() {
		return this.id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getUserId() {
		return this.userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getTradeId() {
		return this.tradeId;
	}

	public void setTradeId(String tradeId) {
		this.tradeId = tradeId;
	}

	public String getUserTypeId() {
		return userTypeId;
	}

	public void setUserTypeId(String userTypeId) {
		this.userTypeId = userTypeId;
	}

	@Override
	public String toString() {
		return "TradeRelation[id=" + id+ ", userId=" + userId + ", tradeId=" + tradeId + ", userTypeId=" + userTypeId + "]";
	}


}

